package haco.syncremotefile.modal;

import haco.syncremotefile.utils.PathUtils;
import lombok.Data;
import org.apache.commons.net.ftp.FTPFile;

/**
 * @author wangyuwei
 * @history 2021-06-09 17:01
 */
@Data
public class FTPFileL extends FTPFile {
    private String path ;
    private int sourceNum;

    public String getAllPath() {
        return PathUtils.get(this.getPath(),this.getName());
    }

    public String getSourceNumS(){
        return String.valueOf(this.sourceNum);
    }
}
